package com.music.dto.system;

import java.util.List;

public class PermissionDTO {

    private String roleId;
    private String permissionId;
    private String permissionName;
    private String actions;
    private String actionList;
    private String actionEntitySet;
    private String dataAccess;
    private List<PermissionDTO> children;

    public PermissionDTO() {
    }

    public PermissionDTO(String roleId, String permissionId, String permissionName, String actions, String actionList, String actionEntitySet, String dataAccess, List<PermissionDTO> children) {
        this.roleId = roleId;
        this.permissionId = permissionId;
        this.permissionName = permissionName;
        this.actions = actions;
        this.actionList = actionList;
        this.actionEntitySet = actionEntitySet;
        this.dataAccess = dataAccess;
        this.children = children;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getActions() {
        return actions;
    }

    public void setActions(String actions) {
        this.actions = actions;
    }

    public String getActionList() {
        return actionList;
    }

    public void setActionList(String actionList) {
        this.actionList = actionList;
    }

    public String getActionEntitySet() {
        return actionEntitySet;
    }

    public void setActionEntitySet(String actionEntitySet) {
        this.actionEntitySet = actionEntitySet;
    }

    public String getDataAccess() {
        return dataAccess;
    }

    public void setDataAccess(String dataAccess) {
        this.dataAccess = dataAccess;
    }

    public List<PermissionDTO> getChildren() {
        return children;
    }

    public void setChildren(List<PermissionDTO> children) {
        this.children = children;
    }
}
